Partial Evaluation of MATLAB
نویسندگان
چکیده
We describe the problems associated with the creation of high performance code for mathematical computations. We discuss the advantages and disadvantages of using a high level language like MATLAB and then propose partial evaluation as a way of lessening the disadvantages at little cost. We then go on to describe the design of a partial evaluator for MATLAB and present results showing what performance increases can be achieved and the circumstances in which partial evaluation can provide these.
منابع مشابه
RESIP2DMODE: A MATLAB-Based 2D Resistivity and Induced Polarization Forward Modeling Software
Forward modeling is an integral part of every geophysical modeling resulting in the numerical simulation of responses for a given physical property model. This Forward procedure is helpful in geophysics both as a means to interpret data in a research setting and as a means to enhance physical understanding in an educational setting. Calculation of resistivity and induced polarization forward re...
متن کاملEvaluation of numerical integration schemes for a partial integro-differential equation
Numerical methods are important in computational neuroscience where complex nonlinear systems are studied. This report evaluates two methodologies, finite differences and Fourier series, for numerically integrating a nonlinear neural model based on a partial integro-differential equation. The stability and convergence criteria of four finite difference methods is investigated and their efficien...
متن کاملA novel code generation methodology for block diagram modeler and simulators Scicos and VSS
Block operations during simulation in Scicos and VSS environments can naturally be described as Nsp functions. But the direct use of Nsp functions for simulation leads to poor performance since the Nsp language is interpreted, not compiled. The methodology presented in this paper is used to develop a tool for generating efficient compilable code, such as C and ADA, for Scicos and VSS models fro...
متن کاملPerformance Evaluation of Wcdma Uplink System over Dispersive Channel
In this paper we have simulated and evaluated the performance of WCDMA uplink system for mobile communications over dispersive channel. We have built a simple simulator for WCDMA for UMTS systems. Achievement of simulation has been done by the use of MATLAB. It is found that the dispersive channel affects the system performance drastically, especially by the increase of number of users.
متن کاملImplementing Memoization for Partial Evaluation
Memoization is a key ingredient in every partial evaluator. It enables folding by caching previously specialized functions. It is essential to make polyvariant specialization terminate. Its implementation is reasonably straightforward in a standard specializer that represents functions by closures. With the advent of handwritten program-generator generators (PGGs), implementing memoization gets...
متن کامل